package com.koron.sinoprobe.web.ledger.bean.entity;

import com.koron.sinoprobe.web.common.UpdateParameter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("项目变更")
public class SpProjectChange implements Serializable, UpdateParameter {

    private static final long serialVersionUID = -89111106411928018L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("项目id")
    private String projectId;

    @ApiModelProperty("字典（project_change_type）：项目信息变更、里程碑变更")
    private String changeType;

    @ApiModelProperty("标题，{项目名称}_{变更类型}")
    private String title;

    @ApiModelProperty("变更单编号，{项目编号}_BG{流水号}")
    private String code;

    @ApiModelProperty("变更原因及内容")
    private String content;

    @ApiModelProperty("完成时间")
    private Date finishTime;

    @ApiModelProperty("状态，项目信息变更（project_info_change）：草稿、已变更，里程碑变更（project_memorabilia_change）：草稿、待审核、已审批")
    private String status;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人账号")
    private String createBy;

    @ApiModelProperty("创建人名字")
    private String createByName;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人账号")
    private String updateBy;

    @ApiModelProperty("更新人名字")
    private String updateByName;

}
